Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: Notes C++ Api Error C2371 with Visual Studio
Feedback Type: Problem
Product Area: Notes 8 Client
Technical Area: Application development
Platform: Windows XP client
Release: 8.0
Reproducible: Always

After finally replacing my outdated Visual Studio V6(1999 vintage) with Visual Studio 2010 I am getting the following error when compiling an existing C++ app that uses the Notes C++ Api.

c:\apis\notescpp_v8\notescpp\include\nsfdata.h(73): error C2371: 'DBID' : redefinition; different basic types
1> C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\oledb.h(718) : see declaration of 'DBID'

I saw some similar postings in the Domino 6/7 forum, but nobody ever posted a solution.

Please help with a solution for this. Thanks.


Feedback number WEBB882S2Z created by ~Zelda Minvelulitings on 08/05/2010


Notes C++ Api Error C2371 with Visu... (~Zelda Minvelul... 5.Aug.10)
. . You have a mismatch between Windows... (~Arnold Zenjumi... 9.Aug.10)
. . . . You have a mismatch between Windows... (~Frank Chuwebur... 1.Sep.10)
. . . . . . You have a mismatch between Windows... (~Frank Chuwebur... 1.Sep.10)
. . Fixing Notes C++ Api Error C2371 wi... (~Sean Nimfoober... 22.Jul.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS